export class AuthError extends Error {
    type = 'auth_error'
    constructor(m?:string) {
        super(`auth_error ${m}`)
    }
}
export class RequireLoginError extends Error {
    type = 'require_login_error'
    constructor(m?:string) {
        super(`require_login_error ${m}`)
    }
}